# discord-pre
It leeches PRE's off of an IRC network then sends it to Discord. That's pretty much it.

# Setup
1. Invite your bot to a server.
2. Install [Node.js](https://nodejs.org/en/download/)
3. Install the dependencies with `npm install`
4. Create a new file named `pre-settings.json`
5. Fill in your details like so:

```json
{
  "ircNick": "BritneySpears14",
  "discordToken": "iPuToNmYrOBeAndwiZarDHat",
  "channels": [
    "0000000000000001",
    "0000000000000002"
  ],
  "admins": [
    "000000000000000001",
    "000000000000000002"
  ]
}
```

6. Run `npm start`
7. Done! That's all there is to it.

# User Commands
DM the bot "help" for help.

# Admin Commands
Commands are used by mentioning your bot followed by a command. You can only use these commands if your user ID is in the `admins` array,
* `setgame` Sets the "Playing" status
```
@PRE setgame=👀
```
![](.git-images/setgame-example.png)

* `testpre` Tests the PRE flow.
```  
@PRE testpre=Transistor-CODEX
```
![](.git-images/testpre-example.png)

# Contributors
MnSXx

# License
Released under the [MIT license](https://opensource.org/licenses/MIT).  
"[IBM VGA8 font](https://int10h.org/oldschool-pc-fonts/fontlist/#ibmvgamcga)" by [VileR](https://int10h.org/) is licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).